projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9722ae1
)
Mention with-silent-modifications in the lispref manual
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 30 Apr 2016 21:40:42 +0000
(23:40 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 1 May 2016 17:27:16 +0000
(19:27 +0200)
* doc/lispref/text.texi (Changing Properties): Document
with-silent-modifications (bug#21171).
(cherry picked from commit
fcd0d854eef6e439d51e8f07cf734d5e34e502b3
)
doc/lispref/text.texi
patch
|
blob
|
history
diff --git
a/doc/lispref/text.texi
b/doc/lispref/text.texi
index ab55c2037d731b6cb0d800810a3b998840963e68..96f109b7561b30b20b2658bc2f2b3921d9802216 100644
(file)
--- a/
doc/lispref/text.texi
+++ b/
doc/lispref/text.texi
@@
-2963,6
+2963,11
@@
construct each part with @code{propertize} and then combine them with
@code{buffer-substring-no-properties}, which copies text from the
buffer but does not copy its properties.
+@findex with-silent-modifications
+ If you wish to add or remove text properties to a buffer without
+marking the buffer as modified, you can wrap the calls above in the
+@code{with-silent-modifications} macro.
+
@node Property Search
@subsection Text Property Search Functions
@cindex searching text properties